package com.macro.mall.mapper;

import com.macro.mall.model.UmsPlantingTechnologyType;
import com.macro.mall.model.UmsPlantingTechnologyTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UmsPlantingTechnologyTypeMapper {
    long countByExample(UmsPlantingTechnologyTypeExample example);

    int deleteByExample(UmsPlantingTechnologyTypeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsPlantingTechnologyType record);

    int insertSelective(UmsPlantingTechnologyType record);

    List<UmsPlantingTechnologyType> selectByExample(UmsPlantingTechnologyTypeExample example);

    UmsPlantingTechnologyType selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsPlantingTechnologyType record, @Param("example") UmsPlantingTechnologyTypeExample example);

    int updateByExample(@Param("record") UmsPlantingTechnologyType record, @Param("example") UmsPlantingTechnologyTypeExample example);

    int updateByPrimaryKeySelective(UmsPlantingTechnologyType record);

    int updateByPrimaryKey(UmsPlantingTechnologyType record);
}